package com.bee2c.zas.home.timer.task;

import org.springframework.stereotype.Service;

import com.bee2c.pub.home.task.bean.TaskProcessResult;
import com.bee2c.pub.home.task.inter.AbstractTaskProcessService;
import com.bee2c.zas.home.constants.TransferType;

@Service("ZasTestInTask")
public class ZasTestInTask extends AbstractTaskProcessService {

	@Override
	public String getTransferType() {
		return TransferType.ZAS_TASK_IN.name();
	}

	@Override
	public String getTaskType() {
		return TransferType.ZAS_TASK_IN.name();
	}

	@Override
	public TaskProcessResult process(String dataKey) throws Exception {
		System.out.println("=====执行ZasTestInTask.dataKey=" + dataKey);
		Thread.sleep(10000);
		return TaskProcessResult.makeSuccess();
	}

}
